@charset "utf-8";
* {
  box-sizing: border-box;
}

.order_o8_con {
  width: 774px;
  margin: 35px auto 0;
  //头部大标题
  h2 {
    font-size: 20px;
    color: #444F58;
    padding-left: 15px;
    padding-bottom: 35px;
  }
  //选项卡的标题
  /*************数据分类***************/
  .data_class {
    font-size: 16px;
    margin-bottom: 24px;
    margin-left: 15px;
    ul {
      overflow: hidden;
      li {
        float: left;
        position: relative;
        height: 36px;
        line-height: 36px;
        color: #444f58;
        cursor: pointer;
        padding: 0 8px;
        ~ li {
          margin-left: 12px;
        }
        i {
          font-style: normal;
          color: #eb413d;
          margin-left: 5px;
        }
        &::after {
          content: "";
          display: block;
          width: 0;
          height: 2px;
          background-color: #e60012;
          position: absolute;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
          transition: all 300ms ease;
        }
        &:hover {
          color: #eb413d;
          &::after {
            width: 55%;
          }
        }
      }
      /*当前选中样式*/
      .selected {
        color: #eb413d;
        &::after {
          width: 55%;
        }
      }
    }
  }
  //表格头部
  .table_head {
    margin-left: 15px;
    position: relative;
    .head_title {
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;
      height: 50px;
      background: #f8f8f8;
      border: 1px solid #ddd;
      li {
        float: left;
        height: 100%;
        span {
          float: left;
          display: block;
          height: 50px;
          line-height: 50px;
          font-size: 13px;
          color: #99999A;
          margin-left: 5px;
        }
        i {
          display: inline-block;
          font-size: 30px;
          height: 50px;
          line-height: 50px;
          color: #99999A;
        }
      }
      li:first-child {
        margin-left: 112px;
      }
      li:nth-child(2) {
        margin-left: 121px;
      }
      li:nth-child(3) {
        margin-left: 100px;
      }
      li:nth-child(4) {
        margin-left: 94px;
      }
      li:nth-child(5) {
        margin-left: 28px;
        transition: all 300ms ease;
        &:hover,
        &:active {
          background: #878787;
          cursor: pointer;
          span,
          i {
            color: #fff;
          }
        }
      }
      li:nth-child(6) {
        margin-left: 7px;
      }
    }
    //交易状态
    .trade {
      display: none;
      position: absolute;
      width: 87px;
      height: 50px;
      margin-left: 593px;
      z-index: 10;
      li {
        border: 1px solid #efefef;
        border-top: 0;
        color: #99999a;
        height: 30px;
        line-height: 30px;
        background: #fff;
        cursor: pointer;
        padding-left: 10px;
        &:hover,
        &:active {
          background: #efefef;
        }
      }
    }
  }
  /*************表格类***************/
  /*表格样式配置*/
  $table_height: 41px;
  //表格默认高度
  $table_font_size: 13px;
  //表格默认字体大小
  $table_align: center;
  //表格默认水平对齐方式
  $table_valign: middle;
  //表格默认垂直对齐方式
  $table_border_color: #e7e7e7;
  //表格边框颜色
  $table_padding: 10px;
  //表格内边距
  $table_radius: 6px;
  //表格圆角
  $table_light_color: transparent;
  //表格高亮颜色
  $table_blank_height: 15px;
  //表格空白行高度
  $table_bd_color: #444f58;
  //表格默认字体颜色
  $table_bd_bgcolor: transparent;
  //表格默认背景颜色
  $table_hf_color: transparent;
  //表头和表尾字体默认颜色
  $table_hf_bgcolor: #f8f8f8;
  //表头和表尾背景默认颜色
  $table_h_height: 47px;
  //表头默认高度
  $table_h_align: center;
  //表头默认水平对齐方式
  $table_h_valign: middle;
  //表头默认垂直对齐方式
  $table_f_red_color: #ffffff;
  //红色表尾字体颜色
  $table_f_red_bgcolor: #ea413c; //红色表尾背景颜色
  $table_f_red_height: 47px;
  //红色表尾高度
  $tableWidth: 323px 73px 46px 75px 73px 90px 10px;
  $tableWidthCount: length($tableWidth);
  $cred: #eb413d;
  $cgray: #444f58;
  /*基础表格*/
  .table {
    display: block;
    margin: 0;
    padding: 0;
    width: 100%;
    //border-top-left-radius: $table_radius;
    //border-top-right-radius: $table_radius;
    background-color: $table_hf_color;
    //overflow: hidden;
    table {
      width: 100%;
      //table-layout: fixed;
      word-break: break-all;
      font-size: $table_font_size;
      thead {
        tr {
          border: 1px solid $table_border_color;
          text-align: $table_h_align;
          vertical-align: $table_h_valign;
          th {
            height: $table_h_height;
            font-weight: normal;
            color: $table_hf_color;
            background-color: $table_hf_bgcolor;
            padding: $table_padding;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
          }
          &:first-child {
            th {
              &:first-child {
                border-top-left-radius: $table_radius + 1;
              }
              &:last-child {
                border-top-right-radius: $table_radius + 1;
              }
            }
          }
        }
      }
      tbody,
      tfoot {
        tr {
          border: 1px solid $table_border_color;
          text-align: $table_align;
          vertical-align: $table_valign;
          td {
            height: $table_height;
            padding: $table_padding;
          }
        }
      }
      tbody {
        tr {
          &:hover {
            td {
              background-color: $table_light_color;
            }
          }
          td {
            color: $table_bd_color;
            background-color: $table_bd_bgcolor;
            transition: background-color 500ms ease;
          }
        }
        /*表格显示空白隔行*/
        tr.blank {
          border-left: 1px solid $table_bd_bgcolor !important;
          border-right: 1px solid $table_bd_bgcolor !important;
          &:hover {
            td {
              background-color: $table_bd_bgcolor;
            }
          }
          td {
            height: $table_blank_height;
            padding: 0;
            border-left: 1px solid $table_bd_bgcolor !important;
            border-right: 1px solid $table_bd_bgcolor !important;
          }
        }
        /*商品信息类上下边距-小*/
        tr.ptb_xs {
          td {
            padding-top: 17px;
            padding-bottom: 17px;
            line-height: 1.8em;
            vertical-align: top;
            &:first-child {
              padding-left: 10px;
              text-align: left;
            }
          }
        }
      }
      tfoot {
        tr {
          td {
            color: $table_hf_color;
            background-color: $table_hf_bgcolor;
          }
        }
      }
      /*文字左对齐*/
      .left {
        text-align: left;
        position: relative;
      }
      .yichaifen {
        padding-bottom: 10px;
        position: relative;
      }
      /*文字水平居中对齐*/
      .center {
        text-align: center;
      }
      /*文字右对齐*/
      .rigth {
        text-align: right;
      }
      /*文字上对齐*/
      .top {
        vertical-align: top;
      }
      /*文字垂直居中对齐*/
      .middle {
        vertical-align: middle;
      }
      /*文字下对齐*/
      .bottom {
        vertical-align: bottom;
      }
    }
    /*表格红色表尾*/
    table.redfoot {
      tfoot {
        tr {
          td {
            color: $table_f_red_color;
            background-color: $table_f_red_bgcolor;
            height: $table_f_red_height;
          }
        }
      }
    }
    /*表格显示所有列边框*/
    table.colsbor {
      tbody {
        tr {
          td {
            padding-left: 5px;
            padding-right: 5px;
            border: 1px solid $table_border_color;
            .o8_delete {
              position: absolute;
              right:15px;
              top:12px;
              cursor: pointer;
            }
          }
        }
      }
    }
    /*表格显示有合并单元格的列边框*/
    table.rowsmerge {
      tbody {
        tr {
          td[rowspan] {
            border: 1px solid $table_border_color;
          }
        }
      }
    }
  }
  /*表格尾部显示圆角*/
  .tfoot_mellow {
    border-bottom-left-radius: $table_radius;
    border-bottom-right-radius: $table_radius;
    table {
      tbody,
      tfoot {
        &:last-child {
          tr {
            &:last-child {
              td {
                &:first-child {
                  border-bottom-left-radius: $table_radius + 1;
                }
                &:last-child {
                  border-bottom-right-radius: $table_radius + 1;
                }
              }
            }
          }
        }
      }
    }
  }
  /*tab表格*/
  [data-role="tabFrame"] {
    .table {
      border-top-left-radius: 0;
      border-top-right-radius: 0;
      margin-top: 15px;
      table {
        margin-top: -$table_h_height;
      }
    }
    .show_thead {
      border-top-left-radius: $table_radius;
      border-top-right-radius: $table_radius;
      margin-top: 0;
      table {
        margin-top: 0;
      }
    }
  }
  table {
    width: 100%;
    tbody {
      tr {
        td {
          text-align: left;
          &:nth-child(odd) {
            padding-left: 15px;
          }
          &:first-child {
            padding-left: 0;
          }
        }
        ~ tr {
          td {
            padding-top: 8px;
          }
        }
        &:last-child {
          td {
            padding-bottom: 15px;
          }
        }
      }
    }
  }
  /*************表格内商品信息块（图片、标题、标签）***************/
  .goods_info {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    //margin-left: 8px;
    /*图片*/
    .picbox {
      display: block;
      float: left;
      width: 120px;
      height: 120px;
      background-color: #ffffff;
      text-align: center;
      img {
        height: 80%;
        margin: 10% 0;
      }
    }
    p {
      float: left;
      width: 17em;
      line-height: 1.8em;
      text-align: justify;
    }
    /*标题*/
    .title {
      height: 5.4em;
      overflow: hidden;
      a {
        color: #444f58;
        transition: color 300ms ease;
        &:hover {
          color: #eb413d;
        }
      }
    }
    /*标签*/
    .tag {
      margin-top: 26px;
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
      span {
        ~ span {
          margin-left: 32px;
        }
      }
    }
  }
  /*信息块小尺寸*/
  .goods_info_mini {
    .picbox {
      width: 100px;
      height: 100px;
    }
    p {
      width: 9em;
    }
  }
  /******信息配置******/
  $tableWidth: 323px 73px 46px 75px 73px 90px;
  $tableWidthCount: length($tableWidth);
  $cred: #eb413d;
  $cgray: #444f58;
  .table {
    margin-left: 15px;
    width: 759px;
    table {
      thead {
        tr {
          @for $i from 0 to $tableWidthCount {
            th:nth-child(#{$i+1}) {
              width: nth($tableWidth, $i+1);
            }
          }
        }
      }
      tbody {
        tr {
          height: 146px;
          i {
            font-size: 12px;
          }
          td:nth-child(2),
          td:nth-child(3),
          td:nth-child(4),
          td:nth-child(6) {
            color: #878787;
          }
          td:nth-child(5) {
            i,
            span {
              color: $cgray;
            }
          }
          td:first-child p.tag {
            display: inline-block;
          }
          td:first-child p.title,
          td:nth-child(4),
          td:nth-child(5),
          td:nth-child(6) {
            position: relative;
            vertical-align: middle;
            a {
              display: block;
              color: $cgray;
              &:hover {
                color: $cred;
              }
            }
            .dialog {
              position: absolute;
              left: 0;
              bottom: 120px;
              color: #444f58;
              z-index: 99;
              min-width: 89px !important;
            }
            .stay {
              position: relative;
              display: block;
              width: 20px;
              height: 18px;
              line-height: 18px;
              border-radius: 1px;
              color: #e60012;
              background: #fdeceb;
              border: 1px solid #f7b3b1;
              margin: 0 auto;
              text-align: center;
              margin-top: 5px;
              margin-bottom: 5px;
              cursor: pointer;
            }
          }
          td:nth-child(4) a {
            display: inline;
          }
          td:first-child,
          td:nth-child(2) {
            border-right-color: transparent;
          }
          td:last-child {
            p {
              margin-bottom: 3px;
              color: $cred;
              i {
                margin-right: 3px;
              }
            }
            a.evaluate {
              color: $cred;
              &:hover,
              &:active {
                cursor: pointer;
              }
            }
          }
        }
        tr:first-child {
          height: 41px;
          td {
            .time {
              margin-left: 22px;
            }
            .number {
              margin-left: 20px;
            }
            a {
              color: $cgray;
              cursor: pointer;
              i {
                color: $cred;
                margin-right: 5px;
              }
              &:hover {
                color: $cred;
              }
              &:first-of-type {
                position: absolute;
                left:490px;
                top:8.4px;
                em {
                  display: inline-block;
                  margin-left: 8px;
                }
                img {
                  margin-bottom: -4px;
                }
              }
              &.del i {
                float: right;
                color: $cgray;
                margin-right: 5px;
                &:hover {
                  color: $cred;
                }
              }
            }
            .gantan {
              display: inline-block;
              width: 19px;
              height: 19px;
              line-height: 19px;
              margin-right: 8px;
              border-radius: 50%;
              background: #eb413d;
              text-align: center;
              margin-bottom: 0;
              color: #fff;
              font-weight: bold;
              vertical-align: middle;
              &:hover {
                color: #fff;
              }
            }
          }
        }

      }
      tfoot{
        tr{
          td{
            background: none;
            padding: 0;
            span{
              float: left;
              width:12%;
              color: #444f58;
              font-size: 14px;
              line-height: 41px;
              vertical-align: center;
              display: inline-block;
              b{
                width: 20px;
                height:18px;
                background: #fdeceb;
                color: #e60012;
                font-weight: normal;
                padding: 1px 2px;
                border: 1px solid #f7b3b1;
              }
            }
            p{
              margin-top: 10.5px;
              float: left;
              color: #444f58;
              font-size: 14px;
              width:88%;
              line-height: 20px;
              text-align: left;
              padding-bottom: 3px;
            }
          }
        }
      }
    }
  }
  .ptb_xs td:first-child {
    width: 236px;
  }
  .ptb_xs td:nth-child(2),
  .ptb_xs td:nth-child(4) {
    width: 90px;
    text-align: center;
  }
  .ptb_xs td:nth-child(3) {
    text-align: center;
    width: 174px;
    position: relative;
    padding-left: 0;
    padding-right: 0;
    div {
      white-space: nowrap;
      span {
        display: inline-block;
        width: 52px;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
    //div span:nth-child(2) {
    //    display: inline-block;
    //    width: 32px;
    //    text-align: center;
    //}
    //div span:nth-child(3) {
    //    display: inline-block;
    //    width: 44px;
    //}
    > span {
      display: inline-block;
      margin-top: 15px;
      i {
        font-size: 40px;
      }
    }
  }
  //}
  //
  //}
  //}
  .ptb_xs td:first-child {
    width: 236px;
  }
  .ptb_xs td:nth-child(2),
  .ptb_xs td:nth-child(4) {
    width: 90px;
    text-align: center;
  }
  .ptb_xs td:nth-child(5) {
    text-align: center;
    width: 89px;
    p {
      text-align: center;
    }
    a {
      text-align: center;
    }
  }
  .ptb_xs td:nth-child(6) {
    a {
      text-align: center;
      margin-bottom: 5px;
    }
    a.evaluate {
      cursor: pointer;
    }
  }
  .table {
    margin-bottom: 10px;
  }
  //下面的分页器
  .fenye {
    ul {
      margin-bottom: 40px;
      box-sizing: content-box;
      input {
        border: none;
        background: none;
        margin: 0;
        width: 30px;
        box-sizing: content-box;
        color: #444f58;
        &:active,
        &:hover {
          color: #EB413D;
        }
      }
      li {
        float: left;
        box-sizing: content-box;
        margin-left: 5px;
        margin-right: 5px;
        a {
          width: 38px;
          height: 38px;
          border: 1px solid #e7e7e7;
          border-radius: 5px;
          box-sizing: content-box;
          text-align: center;
          line-height: 38px;
          font-size: 16px;
          color: #444f58;
        }
        .activebaba {
          border: 1px solid #EB413D;
          box-sizing: content-box;
          color: #EB413D;
          background-color: white;
        }
        &:active,
        &:hover {
          a {
            border: 1px solid #EB413D;
            color: #EB413D;
            box-sizing: content-box;
            background: none;
            input {
              color: #EB413D;
            }
          }
        }
      }
      .yema {
        a {
          width: 60px;
        }
      }
      .dotted {
        border-left: 0;
        border-right: 0;
        margin-left: 0;
        box-sizing: content-box;
        span {
          height: 38px;
          line-height: 38px;
          font-size: 16px;
          margin: 0;
          background: none;
          border: none;
          box-sizing: content-box;
          color: #444f58;
        }
      }
    }
  }
}

.wrap .cus_bottom {
  height: 250px;
}